const Mymusic = () => import('views/Mymusic/Mymusic')
const love = () => import('views/Mymusic/lovePage/lovePage')
const playlist = () => import('views/Mymusic/playlist/playlist')
const attention = () => import('views/Mymusic/attention/attention')
const fans = () => import('views/Mymusic/fans/fans')
const dynamic = () => import('views/Mymusic/dynamic/dynamic')

const song = () => import('views/Mymusic/lovePage/song/song')
const songList = () => import('views/Mymusic/lovePage/songList/songList')
const radio = () => import('views/Mymusic/lovePage/radio/radio')
const record = () => import('views/Mymusic/lovePage/record/record')
const config = {
    name: 'Mymusic',
    path: '/Mymusic',
    component: Mymusic,
    redirect: '/Mymusic/love/song',
    children: [
        {
            name: 'love',
            path: 'love',
            component: love,
            redirect: '/Mymusic/love/song',
            children: [
                {
                    name: 'song',
                    path: 'song',
                    component: song
                },
                {
                    name: 'songList',
                    path: 'songList',
                    component: songList
                },
                {
                    name: 'radio',
                    path: 'radio',
                    component: radio
                },
                {
                    name: 'record',
                    path: 'record',
                    component: record
                }
            ]
        },
        {
            name: 'playlist',
            path: 'playlist',
            component: playlist
        },
        {
            name: 'attention',
            path: 'attention',
            component: attention
        },
        {
            name: 'fans',
            path: 'fans',
            component: fans
        },
        {
            name: 'dynamic',
            path: 'dynamic',
            component: dynamic
        }
    ]
}
export default config